Skip to main content

Bug Tracker

Side navigation

Ticket #3116: attr[5790].diff
File attr[5790].diff, 0.5 KB (added by flesler, July 22, 2008 04:42PM UTC)
Index: core.js
===================================================================
--- core.js	(revision 5790)
+++ core.js	(working copy)
@@ -1039,7 +1039,7 @@
 		if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
 			return undefined;
 
-		var notxml = !jQuery.isXMLDoc( elem ),
+		var notxml = !jQuery.isXMLDoc( elem ) && !jQuery.nodeName( elem, 'svg' ),
 			// Whether we are setting (or getting)
 			set = value !== undefined,
 			msie = jQuery.browser.msie;

Download in other formats:

Original Format